Crate twilight_util[][src]

Expand description

twilight-util

codecov badge discord badge github badge license badge rust badge

twilight-util is a set of utility types and functions for the twilight-rs ecosystem to augment or enhance default functionality.

Features

builder

Provides builders for large structs.

Provides implementations for parsing and formatting entities’ URLs, such as webhook URLs.

permission-calculator

Allows the use of a calculator to determine the permissions of a member in a guild or channel.

snowflake

Allows the use of the Snowflake trait, which provides methods for the extraction of structured information from Discord snowflakes.

Modules

builderbuilder

Builders for large structs.

linklink

Utilities for parsing and formatting links to various resources.

permission_calculatorpermission-calculator

Calculate the permissions of a member on a guild-level or a channel-level.

snowflakesnowflake

Provides the Snowflake trait for defining extractable information from a Discord Snowflake.